var badMiaou;
/**
 * Game initialization
 */    
function init() {

    //Automatically include objects js scripts in header
    var headID = document.getElementsByTagName("head")[0];         
    for(i=0;i<MIAOU_OBJECTS_SCRIPTS.length;i++) {
        var newScript = document.createElement('script');
        newScript.type = 'text/javascript';
        newScript.src = "./scripts/"+MIAOU_OBJECTS_SCRIPTS[i];
        headID.appendChild(newScript);
    }

    topPx=0;
    lftPx=0;
    SPEED = 300 ; /* Speed value in milliseconds */

    ht="";
    H=35 ; /* Height value */
    W=35 ; /* Width value */
    autoMoveTimeOut = 2000
    badMiaou=new Array();
    blackMiaou=null;
    blackWhiteMiaou=null;
    gameTable = new Array();
    gameTable = levels[currentLevel] ; 
    nbTotalFish=0 ; /* The number of fish placed in the game */
    nbEatFish=0 ; /* The number of eaten fish */
    isHomeAvailable=false ;
    iScoreValue=0;
    
}

